home *** CD-ROM | disk | FTP | other *** search
/ Enter 2006 October / Enter 10 2006.iso / boot / isolinux / initrd / in / etc / inittab < prev    next >
Encoding:
Text File  |  2002-09-28  |  966 b   |  34 lines

  1. # /etc/inittab
  2. # Boot-time system configuration/initialization script.
  3. # This is run first except when booting in single-user mode.
  4. ::sysinit:/etc/rc.d/rc.S
  5.  
  6. # Login /bin/sh invocations on selected ttys.
  7. #
  8. # Start a shell on the console
  9. ::respawn:-/bin/sh
  10. # Start an "askfirst" shell on tty2 and tty3
  11. tty2::askfirst:-/bin/sh
  12. tty3::askfirst:-/bin/sh
  13.  
  14. # /sbin/getty invocations for selected ttys.
  15. #
  16. #tty1::respawn:/sbin/getty 38400 tty1
  17. #tty2::respawn:/sbin/getty 38400 tty2
  18.  
  19. # Example of how to put a getty on a serial line (for a terminal)
  20. #
  21. #ttyS0::respawn:/sbin/getty -L ttyS0 9600 vt100
  22. #ttyS1::respawn:/sbin/getty -L ttyS1 9600 vt100
  23. #
  24. # Example how to put a getty on a modem line.
  25. #ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2
  26.  
  27. # Reboot when ctrl-alt-del keys are pressed. 
  28. ::ctrlaltdel:/sbin/reboot 
  29. #::ctrlaltdel:/sbin/brc
  30.  
  31. # Stuff to do before halting or rebooting.
  32. ::shutdown:/sbin/swapoff -a >/dev/null 2>&1 
  33. ::shutdown:/bin/umount -a -r >/dev/null 2>&1 
  34.